//
//  LTTitleView.h
//  LocalTravel
//
//  Created by zheng ji on 14-3-6.
//  Copyright (c) 2014年 jxw. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LTDistanceViewController.h"
#import "LTCityViewController.h"
@protocol TitleViewProtocol<NSObject>
-(void)distanceSelected:(int )distance;
-(void)citySelected:(NSString* )cityID cityName:(NSString*)cityName;
//是否成功获取当前位置
-(BOOL)hasCurrentLocation;
@end
@interface LTTitleView : UIView<UITableViewDelegate,CityViewProtocol>
-(void) setCurrentCity:(NSString*)city;
-(void) showActivityIndicator:(NSString*)tipText;
-(void) stopActivityIndicator:(NSString*)tipText;
//将距离设置为不限
-(void) clearDistance;
//-(void) setDistance:(int)distance text:(NSString*)text;
@property (nonatomic, retain)   id <TitleViewProtocol> delegate;
@end
